package nl.uva.science.pico.stacklanguage.types;

abstract public class InstrList extends nl.uva.science.pico.stacklanguage.AbstractType {
  public InstrList(nl.uva.science.pico.stacklanguage.Factory factory, aterm.ATermList annos, aterm.AFun fun, aterm.ATerm[] args) {
     super(factory, annos, fun, args);
  }

  public boolean isEqual(InstrList peer) {
    return super.isEqual(peer);
  }

  public boolean isSortInstrList()  {
    return true;
  }

  public boolean isInstrList() {
    return false;
  }

  public boolean hasList() {
    return false;
  }

  public nl.uva.science.pico.stacklanguage.types.LabelInstrList getList() {
     throw new UnsupportedOperationException("This InstrList has no List");
  }

  public InstrList setList(nl.uva.science.pico.stacklanguage.types.LabelInstrList _list) {
     throw new IllegalArgumentException("Illegal argument: " + _list);
  }

}

